<?php 
namespace App\Middleware;

use Closure;

class Auth
{
	public function handle($request, Closure $next)
	{
		$id = $request->id;
		if (!isset($id)) {
			return '暂无权限';
        }
		$response = $next($request);
		return $response;
	}
}